Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

egltypes.h

Go to the documentation of this file.
00001 #ifndef __egltypes_h_
00002 #define __egltypes_h_
00003 
00004 /*
00005 ** Copyright 2002-2003 Promoters of the Khronos Group (3Dlabs, ARM Ltd.,
00006 ** ATI Technologies, Inc., Discreet, Ericsson Mobile, Imagination
00007 ** Technologies Group plc, Motorola, Inc., Nokia, Silicon Graphics, Inc.,
00008 ** SK Telecom, and Sun Microsystems).
00009 **
00010 ** This document is protected by copyright, and contains information
00011 ** proprietary to The Khronos Group. Any copying, adaptation, distribution,
00012 ** public performance, or public display of this document without the
00013 ** express written consent of the copyright holders is strictly prohibited.
00014 ** The receipt or possession of this document does not convey any rights to
00015 ** reproduce, disclose, or distribute its contents, or to manufacture, use,
00016 ** or sell anything that it may describe, in whole or in part.
00017 */
00018 
00019 // Include windows header
00020 #include <windows.h>
00021 
00022 #ifdef __EGL_EXPORTS
00023 #    define EGLAPI __declspec(dllexport)
00024 #else
00025 #    define EGLAPI __declspec(dllimport)
00026 #endif
00027 
00028 #define NativeDisplayType HDC
00029 #define NativeWindowType  HWND
00030 #define NativePixmapType  HBITMAP
00031 
00032 typedef int          EGLint;
00033 typedef unsigned int EGLBoolean;
00034 typedef void *       EGLConfig;
00035 typedef void *       EGLContext;
00036 typedef void *       EGLDisplay;
00037 typedef void *       EGLSurface;
00038 typedef void *       EGLClientBuffer;
00039 // TODO: Proper definition for EGLenum?
00040 typedef int             EGLenum;
00041 
00042 /*
00043 ** EGL and native handle values
00044 */
00045 #define EGL_DEFAULT_DISPLAY ((NativeDisplayType)0)
00046 #define EGL_NO_CONTEXT ((EGLContext)0)
00047 #define EGL_NO_DISPLAY ((EGLDisplay)0)
00048 #define EGL_NO_SURFACE ((EGLSurface)0)
00049 
00050 #endif /* ___egltypes_h_ */

Generated on Tue Feb 13 20:58:17 2007 for ES Framework by doxygen 1.3.6